﻿using Fluffy.Library.DocumentContainer;
using Fluffy.Library.FileSources;
using System;

namespace Fluffy.FileMenuCommands
{
	internal class NewCommandModel
	{
		public event Action<IFile, IDocumentContainer> NewFileAction;

		public void CreateNew(IDocumentContainer target)
		{
			if (NewFileAction != null)
				NewFileAction(new NewFile(), target);
		}
	}
}
